package com.entity;

import java.sql.Date;

/**
 * @author Milburn
 * @create 2021-03-01 16:21
 */
public class Order {
    private String order_id;
    private long user_id;
    private long schedule_id;
    private String order_position;
    private int order_state;//订单状态 0：退票中 -1：无法退票  1：已支付 2：退票成功
    private int order_price;
    private Date order_time;
    private User order_user;
    private Schedule order_schedule;

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public long getUser_id() {
        return user_id;
    }

    public void setUser_id(long user_id) {
        this.user_id = user_id;
    }

    public long getSchedule_id() {
        return schedule_id;
    }

    public void setSchedule_id(long schedule_id) {
        this.schedule_id = schedule_id;
    }

    public String getOrder_position() {
        return order_position;
    }

    public void setOrder_position(String order_position) {
        this.order_position = order_position;
    }

    public int getOrder_state() {
        return order_state;
    }

    public void setOrder_state(int order_state) {
        this.order_state = order_state;
    }

    public int getOrder_price() {
        return order_price;
    }

    public void setOrder_price(int order_price) {
        this.order_price = order_price;
    }

    public Date getOrder_time() {
        return order_time;
    }

    public void setOrder_time(Date order_time) {
        this.order_time = order_time;
    }

    public User getOrder_user() {
        return order_user;
    }

    public void setOrder_user(User order_user) {
        this.order_user = order_user;
    }

    public Schedule getOrder_schedule() {
        return order_schedule;
    }

    public void setOrder_schedule(Schedule order_schedule) {
        this.order_schedule = order_schedule;
    }
}
